<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$

return [
    'url_route_on' => true,
    'log'          => [
        'type' => 'trace', // 支持 socket trace file
    ],
    'img'=>[
        //图片默认上传路径
        'uploadDir'=>ROOT_PATH.'data/upload/image/'
    ],
    'lang_switch_on' => true,   // 开启语言包功能
    'lang_list'     => ['zh-cn'], // 支持的语言列表
    //站点密钥
    'site_key'=>'e8666',
    //cookie前缀
    'cookie_prefix'=>'e8_',
    //配置session
    'session'                => [
        'prefix'         => 'e8_',
        'type'           => '',
        'auto_start'     => true,
    ],
    'extra_config_list'=>['allow_access']
];
